<template>
  <!-- 省市区县 -->
  <div>
    <a-cascader v-model="cityList" :options="options" placeholder="请选择省市区县" @change="returnBackFn"/>
  </div>
</template>
<script>
import AreaJson from '@/views/videoManage/util/area'

export default {

  props:['fromCityList'], 
  data() {
    return {
      options: '', 
      cityList:[]
    }
    
  },
 
  created(){
   this.options = AreaJson
   
  },
  mounted() {
   this.cityList = this.fromCityList
  },
  methods: {
    returnBackFn(e) {  
      this.$emit('update',e)
    },
  },
}
</script>

<style scoped>
</style>
